<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>修改系统用户</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../component/elementUI/index.css">
    <link rel="stylesheet" href="../../../style/wangeditor.css">
    <link rel="stylesheet" href="../../../style/index.css">
    <style>
        .el-descriptions-item__label {
            width: 300px;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak class="minWidth">
        <yl-page-header content="修改系统用户"></yl-page-header>
        <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">修改系统用户</div>
            </div>
            <el-descriptions :column="1" border size="small">
                <el-descriptions-item label="用户名称">
                    <el-form-item prop="Name">
                        <el-input v-model.trim="form.Name" placeholder="请输入用户名称"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="姓名">
                    <el-form-item prop="ID_Name">
                        <el-input v-model.trim="form.ID_Name" placeholder="请输入姓名"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="手机号">
                    <el-form-item prop="User_Number">
                        <el-input v-model.trim="form.User_Number" placeholder="请输入手机号"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="密码">
                    <el-form-item prop="Pass_Word">
                        <el-input v-model.trim="form.Pass_Word" placeholder="请输入密码"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="邮箱">
                    <el-form-item prop="Mail">
                        <el-input v-model.trim="form.Mail" placeholder="请输入邮箱"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="性别">
                    <el-form-item prop="Sex">
                        <el-radio-group v-model.trim="form.Sex">
                            <el-radio label="0">男</el-radio>
                            <el-radio label="1">女</el-radio>
                        </el-radio-group>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="是否启用">
                    <el-form-item prop="Row_Status">
                        <el-select v-model.trim="form.Row_Status"  style="width: 100%;" placeholder="请选择是否启用">
                            <el-option v-for="item in Status" :key="item.value" :label="item.label" :value="item.value">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="选择角色">
                    <el-form-item >
                        <el-select v-model.trim="form.Role_SerialNumber" multiple clearable style="width: 100%;" placeholder="请选择角色">
                            <el-option v-for="item in Role" :key="item.Role_SerialNumber" :label="item.Role_Name" :value="item.Role_SerialNumber">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <!-- <el-descriptions-item label="所属部门">
                    <el-form-item prop="Enterprise_Info_SerialNumber">
                        <el-input v-model.trim="form.Role_Name" placeholder="请输入姓名"></el-input>
                    </el-form-item>
                </el-descriptions-item> -->
            </el-descriptions>
            <div style="height: 90px;"></div>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../utils/wangeditor.js"></script>
    <script type="text/javascript" src="../../../utils/jquery.min.js"></script>
    <script type="text/javascript" src="../../../utils/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script type="text/javascript" src="../../../utils/vuex.min.js"></script>
    <script type="text/javascript" src="../../../component/elementUI/index.js"></script>
    <script type="text/javascript" src="../../../component/component.js"></script>
    <script type="text/javascript" src="../../../config/config.js"></script>
    <script type="text/javascript" src="../../../utils/compressor.js"></script>
    <script type="text/javascript" src="../../../utils/ID_Validity.js"></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="js/edit.js"></script>
</body>

</html>